<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>错误提示</title>
    <style>
        .td-text{
            text-align: right;
            background: #f7f9fb;
            width: 90px;
            vertical-align: middle;
            color: #666;
        }
    </style>
    <script type="text/javascript">
        var seconds = 5;

        window.onload = function(){
            var interval = setInterval(function(){
                if(seconds<=0){
                    clearInterval(interval);
                    backLogin();
                    return;
                }else{
                    document.getElementById("timeSpan").innerHTML = seconds+"";
//                    $("#timeSpan").text(i+"");
                    seconds--;
                }
            }, 1000);
        }

        function backLogin(){
            window.parent.location.href = "/plat/ignore/login.html";
        }
    </script>
</head>
<body>
<h1>您的登录信息已过期，请重新登录！！</h1>
<table>
    <tr>
        <td>
            <span>在</span><span id="timeSpan"></span><span>秒之后，将自动返回的登录页面</span>
            <button onclick="backLogin()">立即返回</button>
        </td>
    </tr>
</table>
</body>
</html>